package geppetto.phraseScorer;

import geppetto.cat.models.AbstractModel;

public class DirectionalModelPosterior extends AbstractPhraseScorer{

	AbstractModel _model;
	
	public DirectionalModelPosterior(AbstractModel model){
		_model = model;
	}
	
//	public double getNullPhraseScore(int sentenceNumber, byte sentenceSource, int[] foreingSentence, int[] sourceSentence, int foreignStartPos, int foreignEndPos) {
//		return _model.getNullPhrasePosterior(sentenceNumber, sentenceSource, foreingSentence, sourceSentence, foreignStartPos, foreignEndPos);
//	}

	
	public double getPhraseScore(int sentenceNumber, byte sentenceSource, int[] foreingSentence, int[] sourceSentence, int sourceStartPos, int sourceEndPos, int foreignStartPos, int foreignEndPos) {
		return _model.getPhrasePosterior(sentenceNumber, sentenceSource, foreingSentence, sourceSentence, sourceStartPos, sourceEndPos, foreignStartPos, foreignEndPos);
	}

}
